import axios from '../../axios';

const customerApi = {
    login: function (params) {
        return axios({
            url: "/customer/login",
            method: "post",
            data: params
        });
    },
    isLogin: function () {
        return axios({
            url: "/customer/islogin",
            method: "post"
        })
    },
    register:function (params) {
        return axios({
            url: "/customer/register",
            method: "post",
            data: params,
        })
    }
}

export default customerApi;